VObject::SetOrigin
Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:17:57 1991
Index
Return to Main Contents
NAME
VObject::SetOrigin - instance method
TEMPLATE
void SetOrigin(Point newOrigin)
SPECIFIERS
public
virtual
DESCRIPTION
SetOrigin sets the new origin. Next handlers and observers are informed about this change through the method Control and the method Object::Send. The arguments for these methods are: the id, the const cPartOriginChanged and as third argument this for Control, respectively the address of the Point with the new origin for Send. But Control is only called if the flag eVObjLayoutCntl is set. See also the method SetExtent.
Subclasses with one or several inner VObjects should override this method and forward it to the inner VObjects. See method Expander::SetOrigin.
Method is often overridden.
Method always calls base method.
ARGUMENTS
- Point newOrigin
-
the new origin of the VObject
RETURN ARGUMENT
void
CATEGORIES
content rectangle, client interface, overrider interface
FIRST DEFINITION
class VObject
FILES
- implementation:
-
VObject.C
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:21 GMT, March 30, 2022